package com.csdj.t309springboot.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

/**
 * <p>
 * 拼图碎片表
 * </p>
 *
 * @author 谭湛宇
 * @since 2022-02-09
 */
@TableName("jigsaw_puzzle_pieces")
public class JigsawPuzzlePieces implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 拼图碎片编号
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 拼图碎片位置
     */
    private Integer piecesPosition;

    /**
     * 拼图碎片图片路径
     */
    private String jigsawPiecePicturePath;

    /**
     * 拼图碎片数量
     */
    private Integer numberOfPuzzlePieces;

    /**
     * 用户编号
     */
    private Integer userId;

    /**
     * 盲盒编号
     */
    private Integer blindBoxId;

    /**
     * 拼图编号
     */
    private Integer jigsawPuzzleId;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
    public Integer getPiecesPosition() {
        return piecesPosition;
    }

    public void setPiecesPosition(Integer piecesPosition) {
        this.piecesPosition = piecesPosition;
    }
    public String getJigsawPiecePicturePath() {
        return jigsawPiecePicturePath;
    }

    public void setJigsawPiecePicturePath(String jigsawPiecePicturePath) {
        this.jigsawPiecePicturePath = jigsawPiecePicturePath;
    }
    public Integer getNumberOfPuzzlePieces() {
        return numberOfPuzzlePieces;
    }

    public void setNumberOfPuzzlePieces(Integer numberOfPuzzlePieces) {
        this.numberOfPuzzlePieces = numberOfPuzzlePieces;
    }
    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }
    public Integer getBlindBoxId() {
        return blindBoxId;
    }

    public void setBlindBoxId(Integer blindBoxId) {
        this.blindBoxId = blindBoxId;
    }
    public Integer getJigsawPuzzleId() {
        return jigsawPuzzleId;
    }

    public void setJigsawPuzzleId(Integer jigsawPuzzleId) {
        this.jigsawPuzzleId = jigsawPuzzleId;
    }

    @Override
    public String toString() {
        return "JigsawPuzzlePieces{" +
            "id=" + id +
            ", piecesPosition=" + piecesPosition +
            ", jigsawPiecePicturePath=" + jigsawPiecePicturePath +
            ", numberOfPuzzlePieces=" + numberOfPuzzlePieces +
            ", userId=" + userId +
            ", blindBoxId=" + blindBoxId +
            ", jigsawPuzzleId=" + jigsawPuzzleId +
        "}";
    }
}
